//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.lyyzoo.util;

import com.google.common.annotations.GwtIncompatible;
import java.nio.charset.Charset;

public class Charsets {
    @GwtIncompatible("Non-UTF-8 Charset")
    public static final Charset US_ASCII = Charset.forName("US-ASCII");
    public static final String ISO_8859_1_VALUE = "ISO-8859-1";
    @GwtIncompatible("Non-UTF-8 Charset")
    public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
    public static final String UTF_8_VALUE = "UTF-8";
    public static final Charset UTF_8 = Charset.forName("UTF-8");
    @GwtIncompatible("Non-UTF-8 Charset")
    public static final Charset UTF_16BE = Charset.forName("UTF-16BE");
    @GwtIncompatible("Non-UTF-8 Charset")
    public static final Charset UTF_16LE = Charset.forName("UTF-16LE");
    @GwtIncompatible("Non-UTF-8 Charset")
    public static final Charset UTF_16 = Charset.forName("UTF-16");
    public static final String GBK_VALUE = "GBK";
    public static final Charset GBK = Charset.forName("GBK");

    private Charsets() {
    }

    public static Charset forName(String charset) {
        return Charset.forName(charset);
    }

    public static Charset getDefaultCharset() {
        return Charset.defaultCharset();
    }
}
